package entity;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;



public class tDevice {
	private String deviceId;

	private String deviceNo;
	private String deviceName;
	private String deviceArea;
	private String place;
	private String deviceDescribe;
	private Timestamp addTime;
	private Timestamp distributeTime;
	private String mac;
	private int ph;
	private int orp;
	private int temperature;
	private int ec;
	private int openEC;
	private int closeEC;
	private String industry;
	private String sketchMap;
	private String videoUrl;
	
	private int esil;
	private int ec1;
	private int ec2;
	private int ec3;
	private int ec4;
	private int ec5;
	private int ec6;
	private int ec7;
	private int ec8;
	private int ec9;
	private int ec10;
	private int ec11;
	private int ec12;
	private int ec13;
	
	private tUser tuser;
	
	private List<tAverageDate> taverageDate= new ArrayList();
	//private List<tHistory> thistory=new ArrayList<tHistory>();
	//private List<ta>
	
	private Set tUser;
	
	public String getDeviceId() {
		return this.deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getDeviceNo() {
		return this.deviceNo;
	}
	public void setDeviceNo(String deviceNo) {
		this.deviceNo = deviceNo;
	}
	public String getDeviceName() {
		return this.deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	public String getDeviceArea() {
		return this.deviceArea;
	}
	public void setDeviceArea(String deviceArea) {
		this.deviceArea = deviceArea;
	}
	public String getPlace() {
		return this.place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public String getDeviceDescribe() {
		return this.deviceDescribe;
	}
	public void setDeviceDescribe(String deviceDescribe) {
		this.deviceDescribe = deviceDescribe;
	}
	public Timestamp getAddTime() {
		return this.addTime;
	}
	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}
	public Timestamp getDistributeTime() {
		return this.distributeTime;
	}
	public void setDistributeTime(Timestamp distributeTime) {
		this.distributeTime = distributeTime;
	}
	/*public List<tHistory> getThistory() {
		return thistory;
	}
	public void setThistory(List<tHistory> thistory) {
		this.thistory = thistory;
	}*/
	public String getMac() {
		return mac;
	}

	public Set gettUser() {
		return tUser;
	}
	public void settUser(Set tUser) {
		this.tUser = tUser;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}
	public int getPh() {
		return ph;
	}
	public void setPh(int ph) {
		this.ph = ph;
	}
	public int getOrp() {
		return orp;
	}
	public void setOrp(int orp) {
		this.orp = orp;
	}
	public int getTemperature() {
		return temperature;
	}
	public void setTemperature(int temperature) {
		this.temperature = temperature;
	}
	public int getEc() {
		return ec;
	}
	public void setEc(int ec) {
		this.ec = ec;
	}
	public int getOpenEC() {
		return openEC;
	}
	public void setOpenEC(int openEC) {
		this.openEC = openEC;
	}
	public int getCloseEC() {
		return closeEC;
	}
	public void setCloseEC(int closeEC) {
		this.closeEC = closeEC;
	}
	
	public String getIndustry() {
		return industry;
	}
	public void setIndustry(String industry) {
		this.industry = industry;
	}
	public String getSketchMap() {
		return sketchMap;
	}
	public void setSketchMap(String sketchMap) {
		this.sketchMap = sketchMap;
	}
	public List<tAverageDate> getTaverageDate() {
		return taverageDate;
	}
	public void setTaverageDate(List<tAverageDate> taverageDate) {
		this.taverageDate = taverageDate;
	}
	public String getVideoUrl() {
		return videoUrl;
	}
	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}
	public tUser getTuser() {
		return tuser;
	}
	public void setTuser(tUser tuser) {
		this.tuser = tuser;
	}
	public int getEsil() {
		return esil;
	}
	public void setEsil(int esil) {
		this.esil = esil;
	}
	public int getEc1() {
		return ec1;
	}
	public void setEc1(int ec1) {
		this.ec1 = ec1;
	}
	public int getEc2() {
		return ec2;
	}
	public void setEc2(int ec2) {
		this.ec2 = ec2;
	}
	public int getEc3() {
		return ec3;
	}
	public void setEc3(int ec3) {
		this.ec3 = ec3;
	}
	public int getEc4() {
		return ec4;
	}
	public void setEc4(int ec4) {
		this.ec4 = ec4;
	}
	public int getEc5() {
		return ec5;
	}
	public void setEc5(int ec5) {
		this.ec5 = ec5;
	}
	public int getEc6() {
		return ec6;
	}
	public void setEc6(int ec6) {
		this.ec6 = ec6;
	}
	public int getEc7() {
		return ec7;
	}
	public void setEc7(int ec7) {
		this.ec7 = ec7;
	}
	public int getEc8() {
		return ec8;
	}
	public void setEc8(int ec8) {
		this.ec8 = ec8;
	}
	public int getEc9() {
		return ec9;
	}
	public void setEc9(int ec9) {
		this.ec9 = ec9;
	}
	public int getEc10() {
		return ec10;
	}
	public void setEc10(int ec10) {
		this.ec10 = ec10;
	}
	public int getEc11() {
		return ec11;
	}
	public void setEc11(int ec11) {
		this.ec11 = ec11;
	}
	public int getEc12() {
		return ec12;
	}
	public void setEc12(int ec12) {
		this.ec12 = ec12;
	}
	public int getEc13() {
		return ec13;
	}
	public void setEc13(int ec13) {
		this.ec13 = ec13;
	}
	

	
	
}